#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Npc.nanopb.h"
#define MAX_NPC_NPCFUNCTION_NUM 256

class NpcNpcfunctionDesc : public NFIDescTemplate<NpcNpcfunctionDesc, E_NpcNpcfunction, EOT_CONST_NPC_NPCFUNCTION_DESC_ID, MAX_NPC_NPCFUNCTION_NUM>
{
public:
	NpcNpcfunctionDesc();
	virtual ~NpcNpcfunctionDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
